package com.beta.restapi.request.user;

import com.beta.dto.user.UserRegisterDto;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * Created by vector on 2016/11/21.
 */
@Getter
@Setter
public class UserRegisterRequest {

    @NotBlank
    private String confirmationCode;

    @NotNull
    @Valid
    @JsonProperty("user")
    private UserRegisterDto registerDto;

}
